'use strict';
let

    click_fn = async (ctx, next) => {
        ctx.body =
            `
         <form>
        <div>
            <input id="usernaem" type="text" class="um" placeholder="请输入用户名"/>
        </div>
        <div>
            <input id="password" type="password" class="pwd" placeholder="请输入密码" />
        </div>
        <div>
            <input id="button1" type="button" class="button1" value="登录" >
        </div>
        <div>
            <input id="button2" type="button" class="button2" value="注册" >
        </div>
    </form>
        
        `
    },
    hello_fn = async (ctx, next) => {
        ctx.render('hello.html')
    };



module.exports = {
    '/': ['get', click_fn],
    '/hello': ['post', hello_fn]
};
